﻿using System;
using System.Web.Mvc;

namespace BostonAzureSite.ViewModels
{
    public class EventsViewModel
    {
        public string Title { get; private set; }
        public MvcHtmlString DescriptionHtml { get; private set; }
        public DateTime? StartTimeUtc { get; private set; }
        public DateTime? EndTimeUtc { get; private set; }

        public EventsViewModel(string title, string descriptionHtml, DateTime? startUtc, DateTime? endUtc)
        {
            Title = title;
            DescriptionHtml = new MvcHtmlString(descriptionHtml);
            StartTimeUtc = startUtc;
            EndTimeUtc = endUtc;
        }
    }
}